# v434 - Customer Portal Prep and Billing Activation Master Checklist ## Decision Proceed with customer portal preparation and the billing activation master checklist before payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access. ## What changed - Added locked workspace-authenticated customer portal route scaffold: - `/api/subscriptions/stripe-customer-portal` - Added `StripeCustomerPortalRouteScaffoldService`. - Added Super Admin-only billing activation checklist endpoint: - `/api/admin/billing-activation/master-checklist` - Added `BillingActivationMasterChecklistService`. - Extended `/admin/subscriptions` with a new **Billing activation master checklist** panel. - The new panel reviews: - Stripe environment readiness; - candidate plan/price readiness; - checkout-session approval and test-session posture; - customer portal route readiness; - paid workspace Stripe customer readiness; - webhook event review; - subscription sync and trial-to-paid readiness; - payment collection and hard billing-gate locks; - downstream broker, owned portal, and internal load-board policy locks. - Added filters and CSV exports for: - billing activation checklist rows; - customer portal workspace readiness rows. - Added `.env.example` flags: - `DISPATCH_SPOT_STRIPE_CUSTOMER_PORTAL_ROUTE_SCAFFOLD_LOCKED="true"` - `DISPATCH_SPOT_STRIPE_CUSTOMER_PORTAL_TEST_SESSION_CREATION_ENABLED="false"` - `DISPATCH_SPOT_BILLING_ACTIVATION_MASTER_CHECKLIST_ENABLED="true"` - `DISPATCH_SPOT_BILLING_ACTIVATION_REVIEW_ONLY="true"` ## What remains locked - Customer portal session creation. - Customer portal URL return. - Payment collection. - Webhook-driven subscription mutation. - Trial-to-paid conversion. - Hard billing gates. - Broker distribution limits. - Owned portal rules. - Internal load-board access. ## Prisma schema impact None.